package com.ellecity06.cwhiskymall.ui.login

import com.ellecity06.common.base.view.IUiState
import com.ellecity06.cwhiskymall.bean.response.AppVersionResponse

/**
 * @author ellecity06
 * @time 2024/10/24 10:08
 * @des
 */
sealed class LoginState : IUiState {
    data class Checked(val checked:Boolean=false):LoginState()
    object SmdCodeSuccess : LoginState()
    object LoginSuccess : LoginState()

    /**
     * 显示版本更新的弹窗
     */
    data class ShowDialog(val data: AppVersionResponse): LoginState()
    data class GetPicCodeSuccess(val url: String): LoginState()
}